﻿//------------------------------------------------------------------
// System Name:    smsGateway
// Component:      Common
// Create by:      Evans Liao (evansl@wicresoft.com)
// Create Date:    2010-12-13
//------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.SMS.Common
{
    public class EmailInfo
    {
        /// <summary>
        /// gets ID of the mail
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// gets address the mail sent to
        /// </summary>
        public string To { get; set; }
        /// <summary>
        /// gets address lists of CC
        /// </summary>
        public string CC { get; set; }
        /// <summary>
        /// gets subject of the mail
        /// </summary>
        public string Subject { get; set; }
        /// <summary>
        /// gets Body of the mail
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// gets HtmlBody of the mail
        /// </summary>
        public string HtmlBody { get; set; }
        /// <summary>
        /// returns true if the mail contains htmlbody
        /// </summary>
        public bool isHtmlBody { get; set; }
        /// <summary>
        /// gets address the mail from
        /// </summary>
        public string From { get; set; }
        /// <summary>
        /// returns datetime of the mail
        /// </summary>
        public DateTime Date { get; set; }
        /// <summary>
        /// gets the attachments
        /// </summary>
        public object Atch { get; set; }
        /// <summary>
        /// gets the BCC address
        /// </summary>
        public string BCC { get; set; }
    }
}
